package com.jiliason.segmentation.constant.enums;

public enum Err {
    /**
     * 1:高， 2：中， 3：低
     */
    A("没有服务!", "noClass", 1),
    B("词库不全!", "noDict", 3),
    ;
    private final String errorMsg;
    private final String errorCode;
    private final int errorLevel;

    Err(String errorMsg, String errorCode, int errorLevel) {
        this.errorMsg = errorMsg;
        this.errorCode = errorCode;
        this.errorLevel = errorLevel;
    }

    public String m() {
        return this.errorMsg;
    }

    public String c() {
        return this.errorCode;
    }

    public int lv() {
        return this.errorLevel;
    }
}
